package vn.org.hcmut.or.model;

/**
 *
 * @author HUNGUYEN
 */
public class AvailableWindow {
	private int id;
    private int timeStart;
    private int durationWinCapacity;
    private int durationWinCurrent;
    private boolean flagMinsplit;
    private boolean process = false;
    public AvailableWindow() {
        timeStart = 0;
        durationWinCapacity = -1;
        flagMinsplit = false;
        durationWinCurrent = 0;
    }

    public boolean isFlagMinsplit() {
        return flagMinsplit;
    }

    public void setFlagMinsplit(boolean flagMinsplit) {
        this.flagMinsplit = flagMinsplit;
    }
    
    public int getDurationWinCurrent() {
        return durationWinCurrent;
    }

    public void setDurationWinCurrent(int t_duration) {
        this.durationWinCurrent = t_duration;
    }
    
    public int getT_duration() {
        return durationWinCapacity;
    }

    public void setT_duration(int t_duration) {
        this.durationWinCapacity = t_duration;
    }

    public int getTimeStart() {
        return timeStart;
    }

    public void setTimeStart(int timeStart) {
        this.timeStart = timeStart;
    }

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public boolean isProcess() {
		return process;
	}

	public void setProcess(boolean process) {
		this.process = process;
	}
    
}
